package fictional.GUI;

import java.net.URL;
import javax.swing.JLabel;

/**
 * A class which holds information for a single image drawn in
 * the GUI (the label on which it will be drawn, and the link
 * the image itself).
 */
public class DrawData {
	
	private JLabel label;
    private int height;
    private int width;
    private URL imgURL;
	
	public DrawData(JLabel label, URL imageURL, int height, int width) {
		this.imgURL = imageURL;
		this.label = label;
        this.height = height;
        this.width = width;
	}
	
	public JLabel getLabel() {
		return label;
	}
	
	public URL getImageURL() {
		return imgURL;
	}
        
        public int getHeight()
        {
            return height;
        }
        
        public int getWidth()
        {
            return width;
        }
}